package com.project.bean;

import java.time.LocalDate;

/**
 * 班级实体类
 */
public class ClassBean {

    private int id;
    private String className;
    private LocalDate startDate=LocalDate.now();
    private String classTeacher;

    public ClassBean() {
    }

    public ClassBean(String className, String classTeacher) {
        this.className = className;
        this.classTeacher = classTeacher;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public String getClassTeacher() {
        return classTeacher;
    }

    public void setClassTeacher(String classTeacher) {
        this.classTeacher = classTeacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", startDate=" + startDate +
                ", classTeacher='" + classTeacher + '\'' +
                "}\n";
    }
}
